package com.copm.ifm.servers.sys.mapper.dept;

import com.copm.ifm.servers.sys.entity.dept.SysDept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.copm.ifm.servers.sys.vo.SysDeptVO;

/**
 * <p>
 * 组织架构表 Mapper 接口
 * </p>
 *
 * @author tp
 * @since 2021-06-08
 */
public interface SysDeptMapper extends BaseMapper<SysDept> {

    SysDeptVO selectParentDeptById(Integer parentAreaId);

    Integer selectMaxSeq(String path, int level);

    SysDeptVO selectVoById(int id);
}
